cap program drop estadd_FE
program estadd_FE, eclass
/* adds a macro FE with value "Yes" if xtreg, fe is used, otherwise
"No" */
  if "`e(model)'" == "fe" {
    local word "Yes"
  } 
  else {
    local word "No"
  }
  ereturn local FE = "`word'"
end
